package com.woniu.mapper;

import com.woniu.pojo.Feedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FeedbackMapper {
    //增加
    public void  addFeedback(Feedback feedback);
    //删除
    public void deleteFeedback(@Param("id")int id);
    //修改
    public void updateFeedback(Feedback feedback);
    //查询所有
    public List<Feedback> selectAllFeedback();
    //根据id
    public Feedback selectFeedbackById(@Param("id")int id);

}
